<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>chimera.controllers.console.commands.object</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="chimera-module.html">Package&nbsp;chimera</a> ::
        <a href="chimera.controllers-module.html">Package&nbsp;controllers</a> ::
        <a href="chimera.controllers.console-module.html">Package&nbsp;console</a> ::
        <a href="chimera.controllers.console.commands-module.html">Package&nbsp;commands</a> ::
        Module&nbsp;object
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="chimera.controllers.console.commands.object-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="chimera.controllers.console.commands.object-module.html">Module chimera.controllers.console.commands.object</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">inspect</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Package chimera=chimera-module.html"><a title="chimera" class="py-name" href="#" onclick="return doclink('link-0', 'chimera', 'link-0');">chimera</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Package chimera.interfaces=chimera.interfaces-module.html"><a title="chimera.interfaces" class="py-name" href="#" onclick="return doclink('link-1', 'interfaces', 'link-1');">interfaces</a></tt><tt class="py-op">.</tt><tt id="link-2" class="py-name" targets="Module chimera.interfaces.lifecycle=chimera.interfaces.lifecycle-module.html"><a title="chimera.interfaces.lifecycle" class="py-name" href="#" onclick="return doclink('link-2', 'lifecycle', 'link-2');">lifecycle</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class chimera.interfaces.lifecycle.ILifeCycle=chimera.interfaces.lifecycle.ILifeCycle-class.html"><a title="chimera.interfaces.lifecycle.ILifeCycle" class="py-name" href="#" onclick="return doclink('link-3', 'ILifeCycle', 'link-3');">ILifeCycle</a></tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name"><a title="chimera" class="py-name" href="#" onclick="return doclink('link-4', 'chimera', 'link-0');">chimera</a></tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Package chimera.core=chimera.core-module.html"><a title="chimera.core" class="py-name" href="#" onclick="return doclink('link-5', 'core', 'link-5');">core</a></tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Module chimera.core.config=chimera.core.config-module.html,Variable chimera.core.location.Location.config=chimera.core.location.Location-class.html#config"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-6', 'config', 'link-6');">config</a></tt>  <tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Class chimera.core.exceptions.OptionConversionException=chimera.core.exceptions.OptionConversionException-class.html"><a title="chimera.core.exceptions.OptionConversionException" class="py-name" href="#" onclick="return doclink('link-7', 'OptionConversionException', 'link-7');">OptionConversionException</a></tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name"><a title="chimera" class="py-name" href="#" onclick="return doclink('link-8', 'chimera', 'link-0');">chimera</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Package chimera.controllers=chimera.controllers-module.html,Static Method chimera.core.path.ChimeraPath.controllers()=chimera.core.path.ChimeraPath-class.html#controllers"><a title="chimera.controllers
chimera.core.path.ChimeraPath.controllers" class="py-name" href="#" onclick="return doclink('link-9', 'controllers', 'link-9');">controllers</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Package chimera.controllers.console=chimera.controllers.console-module.html,Module chimera.controllers.console.console=chimera.controllers.console.console-module.html"><a title="chimera.controllers.console
chimera.controllers.console.console" class="py-name" href="#" onclick="return doclink('link-10', 'console', 'link-10');">console</a></tt><tt class="py-op">.</tt><tt id="link-11" class="py-name" targets="Module chimera.controllers.console.command=chimera.controllers.console.command-module.html,Function chimera.controllers.console.command.command()=chimera.controllers.console.command-module.html#command"><a title="chimera.controllers.console.command
chimera.controllers.console.command.command" class="py-name" href="#" onclick="return doclink('link-11', 'command', 'link-11');">command</a></tt> <tt class="py-keyword">import</tt> <tt id="link-12" class="py-name" targets="Class chimera.controllers.console.command.Command=chimera.controllers.console.command.Command-class.html"><a title="chimera.controllers.console.command.Command" class="py-name" href="#" onclick="return doclink('link-12', 'Command', 'link-12');">Command</a></tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-13" class="py-name"><a title="chimera" class="py-name" href="#" onclick="return doclink('link-13', 'chimera', 'link-0');">chimera</a></tt><tt class="py-op">.</tt><tt id="link-14" class="py-name"><a title="chimera.controllers
chimera.core.path.ChimeraPath.controllers" class="py-name" href="#" onclick="return doclink('link-14', 'controllers', 'link-9');">controllers</a></tt><tt class="py-op">.</tt><tt id="link-15" class="py-name"><a title="chimera.controllers.console
chimera.controllers.console.console" class="py-name" href="#" onclick="return doclink('link-15', 'console', 'link-10');">console</a></tt><tt class="py-op">.</tt><tt id="link-16" class="py-name" targets="Module chimera.controllers.console.message=chimera.controllers.console.message-module.html"><a title="chimera.controllers.console.message" class="py-name" href="#" onclick="return doclink('link-16', 'message', 'link-16');">message</a></tt> <tt class="py-keyword">import</tt> <tt id="link-17" class="py-name" targets="Class chimera.controllers.console.message.Message=chimera.controllers.console.message.Message-class.html"><a title="chimera.controllers.console.message.Message" class="py-name" href="#" onclick="return doclink('link-17', 'Message', 'link-17');">Message</a></tt><tt class="py-op">,</tt> <tt id="link-18" class="py-name" targets="Class chimera.controllers.console.message.Error=chimera.controllers.console.message.Error-class.html"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-18', 'Error', 'link-18');">Error</a></tt><tt class="py-op">,</tt> <tt id="link-19" class="py-name" targets="Class chimera.controllers.console.message.Hint=chimera.controllers.console.message.Hint-class.html"><a title="chimera.controllers.console.message.Hint" class="py-name" href="#" onclick="return doclink('link-19', 'Hint', 'link-19');">Hint</a></tt><tt class="py-op">,</tt> <tt id="link-20" class="py-name" targets="Class chimera.controllers.console.message.Config=chimera.controllers.console.message.Config-class.html,Class chimera.core.config.Config=chimera.core.config.Config-class.html"><a title="chimera.controllers.console.message.Config
chimera.core.config.Config" class="py-name" href="#" onclick="return doclink('link-20', 'Config', 'link-20');">Config</a></tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand"></a><div id="ObjectCommand-def"><a name="L9"></a><tt class="py-lineno">  9</tt> <a class="py-toggle" href="#" id="ObjectCommand-toggle" onclick="return toggle('ObjectCommand');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html">ObjectCommand</a> <tt class="py-op">(</tt><tt class="py-base-class">Command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="ObjectCommand-expanded"><a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand.__init__"></a><div id="ObjectCommand.__init__-def"><a name="L11"></a><tt class="py-lineno"> 11</tt> <a class="py-toggle" href="#" id="ObjectCommand.__init__-toggle" onclick="return toggle('ObjectCommand.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#__init__">__init__</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">name</tt><tt class="py-op">,</tt> <tt class="py-param">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand.__init__-expanded"><a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line">        <tt id="link-21" class="py-name"><a title="chimera.controllers.console.command.Command" class="py-name" href="#" onclick="return doclink('link-21', 'Command', 'link-12');">Command</a></tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Method chimera.controllers.autofocus.Autofocus.__init__()=chimera.controllers.autofocus.Autofocus-class.html#__init__,Method chimera.controllers.autofocus.FocusFit.__init__()=chimera.controllers.autofocus.FocusFit-class.html#__init__,Method chimera.controllers.console.command.Command.__init__()=chimera.controllers.console.command.Command-class.html#__init__,Method chimera.controllers.console.command.HighLevelCommand.__init__()=chimera.controllers.console.command.HighLevelCommand-class.html#__init__,Method chimera.controllers.console.commander.Commander.__init__()=chimera.controllers.console.commander.Commander-class.html#__init__,Method chimera.controllers.console.commands.alias.AliasCommand.__init__()=chimera.controllers.console.commands.alias.AliasCommand-class.html#__init__,Method chimera.controllers.console.commands.object.ObjectCommand.__init__()=chimera.controllers.console.commands.object.ObjectCommand-class.html#__init__,Method chimera.controllers.console.commands.quit.QuitCommand.__init__()=chimera.controllers.console.commands.quit.QuitCommand-class.html#__init__,Method chimera.controllers.console.commands.site.SiteCommand.__init__()=chimera.controllers.console.commands.site.SiteCommand-class.html#__init__,Method chimera.controllers.console.commands.unalias.UnaliasCommand.__init__()=chimera.controllers.console.commands.unalias.UnaliasCommand-class.html#__init__,Method chimera.controllers.console.console.Console.__init__()=chimera.controllers.console.console.Console-class.html#__init__,Method chimera.controllers.console.controller._ConsoleControllerSingleton.__init__()=chimera.controllers.console.controller._ConsoleControllerSingleton-class.html#__init__,Method chimera.controllers.console.message.Config.__init__()=chimera.controllers.console.message.Config-class.html#__init__,Method chimera.controllers.console.message.Error.__init__()=chimera.controllers.console.message.Error-class.html#__init__,Method chimera.controllers.console.message.Hint.__init__()=chimera.controllers.console.message.Hint-class.html#__init__,Method chimera.controllers.console.message.Message.__init__()=chimera.controllers.console.message.Message-class.html#__init__,Method chimera.controllers.console.namespace.Namespace.__init__()=chimera.controllers.console.namespace.Namespace-class.html#__init__,Method chimera.controllers.extinction.Extinction.__init__()=chimera.controllers.extinction.Extinction-class.html#__init__,Method chimera.controllers.imageserver.imagerequest.ImageRequest.__init__()=chimera.controllers.imageserver.imagerequest.ImageRequest-class.html#__init__,Method chimera.controllers.imageserver.imageserver.ImageServer.__init__()=chimera.controllers.imageserver.imageserver.ImageServer-class.html#__init__,Method chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.__init__()=chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP-class.html#__init__,Method chimera.controllers.pointverify.PointVerify.__init__()=chimera.controllers.pointverify.PointVerify-class.html#__init__,Method chimera.controllers.reduction.calibration.Calibration.__init__()=chimera.controllers.reduction.calibration.Calibration-class.html#__init__,Method chimera.controllers.reduction.chimera_pipe.Reduction.__init__()=chimera.controllers.reduction.chimera_pipe.Reduction-class.html#__init__,Method chimera.controllers.scheduler.constraints.Constraints.__init__()=chimera.controllers.scheduler.constraints.Constraints-class.html#__init__,Method chimera.controllers.scheduler.constraints.IConstraint.__init__()=chimera.controllers.scheduler.constraints.IConstraint-class.html#__init__,Method chimera.controllers.scheduler.controller.Controller.__init__()=chimera.controllers.scheduler.controller.Controller-class.html#__init__,Method chimera.controllers.scheduler.machine.Machine.__init__()=chimera.controllers.scheduler.machine.Machine-class.html#__init__,Method chimera.controllers.scheduler.sequential.SequentialScheduler.__init__()=chimera.controllers.scheduler.sequential.SequentialScheduler-class.html#__init__,Method chimera.controllers.site.main.SiteController.__init__()=chimera.controllers.site.main.SiteController-class.html#__init__,Method chimera.controllers.xephem.XEphem.__init__()=chimera.controllers.xephem.XEphem-class.html#__init__,Method chimera.controllers.xmlrpc.ChimeraXMLDispatcher.__init__()=chimera.controllers.xmlrpc.ChimeraXMLDispatcher-class.html#__init__,Method chimera.controllers.xmlrpc.ThreadingXMLRPCServer.__init__()=chimera.controllers.xmlrpc.ThreadingXMLRPCServer-class.html#__init__,Method chimera.controllers.xmlrpc.XMLRPC.__init__()=chimera.controllers.xmlrpc.XMLRPC-class.html#__init__,Method chimera.controllers.xmlrpc.serverThread.__init__()=chimera.controllers.xmlrpc.serverThread-class.html#__init__,Method chimera.core.async.BeginDispatcher.__init__()=chimera.core.async.BeginDispatcher-class.html#__init__,Method chimera.core.async.EndDispatcher.__init__()=chimera.core.async.EndDispatcher-class.html#__init__,Method chimera.core.chimeraobject.ChimeraObject.__init__()=chimera.core.chimeraobject.ChimeraObject-class.html#__init__,Method chimera.core.classloader.ClassLoader.__init__()=chimera.core.classloader.ClassLoader-class.html#__init__,Method chimera.core.cli.CLIValues.__init__()=chimera.core.cli.CLIValues-class.html#__init__,Method chimera.core.cli.ChimeraCLI.__init__()=chimera.core.cli.ChimeraCLI-class.html#__init__,Method chimera.core.cli.Option.__init__()=chimera.core.cli.Option-class.html#__init__,Method chimera.core.config.BoolChecker.__init__()=chimera.core.config.BoolChecker-class.html#__init__,Method chimera.core.config.Config.__init__()=chimera.core.config.Config-class.html#__init__,Method chimera.core.config.CoordChecker.__init__()=chimera.core.config.CoordChecker-class.html#__init__,Method chimera.core.config.CoordOption.__init__()=chimera.core.config.CoordOption-class.html#__init__,Method chimera.core.config.EnumChecker.__init__()=chimera.core.config.EnumChecker-class.html#__init__,Method chimera.core.config.FloatChecker.__init__()=chimera.core.config.FloatChecker-class.html#__init__,Method chimera.core.config.IgnoreChecker.__init__()=chimera.core.config.IgnoreChecker-class.html#__init__,Method chimera.core.config.IntChecker.__init__()=chimera.core.config.IntChecker-class.html#__init__,Method chimera.core.config.Option.__init__()=chimera.core.config.Option-class.html#__init__,Method chimera.core.config.OptionsChecker.__init__()=chimera.core.config.OptionsChecker-class.html#__init__,Method chimera.core.config.RangeChecker.__init__()=chimera.core.config.RangeChecker-class.html#__init__,Method chimera.core.config.StringChecker.__init__()=chimera.core.config.StringChecker-class.html#__init__,Method chimera.core.eventsproxy.EventsProxy.__init__()=chimera.core.eventsproxy.EventsProxy-class.html#__init__,Method chimera.core.eventwrapper.EventWrapperDispatcher.__init__()=chimera.core.eventwrapper.EventWrapperDispatcher-class.html#__init__,Method chimera.core.exceptions.ChimeraException.__init__()=chimera.core.exceptions.ChimeraException-class.html#__init__,Method chimera.core.location.Location.__init__()=chimera.core.location.Location-class.html#__init__,Method chimera.core.lockwrapper.LockWrapper.__init__()=chimera.core.lockwrapper.LockWrapper-class.html#__init__,Method chimera.core.lockwrapper.LockWrapperDispatcher.__init__()=chimera.core.lockwrapper.LockWrapperDispatcher-class.html#__init__,Method chimera.core.log.ChimeraFormatter.__init__()=chimera.core.log.ChimeraFormatter-class.html#__init__,Method chimera.core.manager.Manager.__init__()=chimera.core.manager.Manager-class.html#__init__,Method chimera.core.manager.ManagerAdapter.__init__()=chimera.core.manager.ManagerAdapter-class.html#__init__,Method chimera.core.managerbeacon.ManagerBeacon.__init__()=chimera.core.managerbeacon.ManagerBeacon-class.html#__init__,Method chimera.core.methodwrapper.MethodWrapper.__init__()=chimera.core.methodwrapper.MethodWrapper-class.html#__init__,Method chimera.core.methodwrapper.MethodWrapperDispatcher.__init__()=chimera.core.methodwrapper.MethodWrapperDispatcher-class.html#__init__,Method chimera.core.monitor.Monitor.__init__()=chimera.core.monitor.Monitor-class.html#__init__,Method chimera.core.proxy.Proxy.__init__()=chimera.core.proxy.Proxy-class.html#__init__,Method chimera.core.proxy.ProxyMethod.__init__()=chimera.core.proxy.ProxyMethod-class.html#__init__,Method chimera.core.remoteobject.RemoteObject.__init__()=chimera.core.remoteobject.RemoteObject-class.html#__init__,Method chimera.core.resources.Resource.__init__()=chimera.core.resources.Resource-class.html#__init__,Method chimera.core.resources.ResourcesManager.__init__()=chimera.core.resources.ResourcesManager-class.html#__init__,Method chimera.core.rwlock.ReadWriteLock.__init__()=chimera.core.rwlock.ReadWriteLock-class.html#__init__,Method chimera.core.site.AstroDate.__init__()=chimera.core.site.AstroDate-class.html#__init__,Method chimera.core.site.Site.__init__()=chimera.core.site.Site-class.html#__init__,Method chimera.core.systemconfig.SystemConfig.__init__()=chimera.core.systemconfig.SystemConfig-class.html#__init__,Method chimera.core.tests.managerhelper.ManagerHelper.__init__()=chimera.core.tests.managerhelper.ManagerHelper-class.html#__init__,Method chimera.core.tests.managerhelperwitherror.ManagerHelperWithError.__init__()=chimera.core.tests.managerhelperwitherror.ManagerHelperWithError-class.html#__init__,Method chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException.__init__()=chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException-class.html#__init__,Method chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException.__init__()=chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException-class.html#__init__,Method chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException.__init__()=chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException-class.html#__init__,Method chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException.__init__()=chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException-class.html#__init__,Method chimera.core.tests.test_events.Publisher.__init__()=chimera.core.tests.test_events.Publisher-class.html#__init__,Method chimera.core.tests.test_events.Subscriber.__init__()=chimera.core.tests.test_events.Subscriber-class.html#__init__,Method chimera.core.tests.test_manager.Simple.__init__()=chimera.core.tests.test_manager.Simple-class.html#__init__,Method chimera.core.tests.test_resources.TestResources.__init__()=chimera.core.tests.test_resources.TestResources-class.html#__init__,Method chimera.core.threads.ThreadPool.__init__()=chimera.core.threads.ThreadPool-class.html#__init__,Method chimera.core.threads.ThreadPoolThread.__init__()=chimera.core.threads.ThreadPoolThread-class.html#__init__,Method chimera.drivers.domelna40cm.DomeLNA40cm.__init__()=chimera.drivers.domelna40cm.DomeLNA40cm-class.html#__init__,Method chimera.drivers.fakecamera.FakeCamera.__init__()=chimera.drivers.fakecamera.FakeCamera-class.html#__init__,Method chimera.drivers.fakedome.FakeDome.__init__()=chimera.drivers.fakedome.FakeDome-class.html#__init__,Method chimera.drivers.fakefilterwheel.FakeFilterWheel.__init__()=chimera.drivers.fakefilterwheel.FakeFilterWheel-class.html#__init__,Method chimera.drivers.fakefocuser.FakeFocuser.__init__()=chimera.drivers.fakefocuser.FakeFocuser-class.html#__init__,Method chimera.drivers.faketelescope.FakeTelescope.__init__()=chimera.drivers.faketelescope.FakeTelescope-class.html#__init__,Method chimera.drivers.meade.Meade.__init__()=chimera.drivers.meade.Meade-class.html#__init__,Method chimera.drivers.optectcfs.OptecTCFS.__init__()=chimera.drivers.optectcfs.OptecTCFS-class.html#__init__,Method chimera.drivers.remoteclient.RemoteClient.__init__()=chimera.drivers.remoteclient.RemoteClient-class.html#__init__,Method chimera.drivers.remoteclient.RemoteMethodWrapper.__init__()=chimera.drivers.remoteclient.RemoteMethodWrapper-class.html#__init__,Method chimera.drivers.sbig.sbig.SBIG.__init__()=chimera.drivers.sbig.sbig.SBIG-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.ReadoutMode.__init__()=chimera.drivers.sbig.sbigdrv.ReadoutMode-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.SBIGDrv.__init__()=chimera.drivers.sbig.sbigdrv.SBIGDrv-class.html#__init__,Method chimera.drivers.sbig.sbigdrv.SBIGException.__init__()=chimera.drivers.sbig.sbigdrv.SBIGException-class.html#__init__,Method chimera.drivers.theskytelescope.TheSkyTelescope.__init__()=chimera.drivers.theskytelescope.TheSkyTelescope-class.html#__init__,Method chimera.instruments.camera.Camera.__init__()=chimera.instruments.camera.Camera-class.html#__init__,Method chimera.instruments.dome.Dome.__init__()=chimera.instruments.dome.Dome-class.html#__init__,Method chimera.instruments.filterwheel.FilterWheel.__init__()=chimera.instruments.filterwheel.FilterWheel-class.html#__init__,Method chimera.instruments.focuser.Focuser.__init__()=chimera.instruments.focuser.Focuser-class.html#__init__,Method chimera.instruments.telescope.Telescope.__init__()=chimera.instruments.telescope.Telescope-class.html#__init__,Method chimera.interfaces.lifecycle.ILifeCycle.__init__()=chimera.interfaces.lifecycle.ILifeCycle-class.html#__init__,Method chimera.util.catalogs.landolt.Landolt.__init__()=chimera.util.catalogs.landolt.Landolt-class.html#__init__,Method chimera.util.catalogs.ppm.PPM.__init__()=chimera.util.catalogs.ppm.PPM-class.html#__init__,Method chimera.util.catalogs.ucac2.UCAC2.__init__()=chimera.util.catalogs.ucac2.UCAC2-class.html#__init__,Method chimera.util.coord.Coord.__init__()=chimera.util.coord.Coord-class.html#__init__,Method chimera.util.ds9.DS9.__init__()=chimera.util.ds9.DS9-class.html#__init__,Method chimera.util.etree.ElementPath.Path.__init__()=chimera.util.etree.ElementPath.Path-class.html#__init__,Method chimera.util.etree.ElementTree.ElementTree.__init__()=chimera.util.etree.ElementTree.ElementTree-class.html#__init__,Method chimera.util.etree.ElementTree.QName.__init__()=chimera.util.etree.ElementTree.QName-class.html#__init__,Method chimera.util.etree.ElementTree.TreeBuilder.__init__()=chimera.util.etree.ElementTree.TreeBuilder-class.html#__init__,Method chimera.util.etree.ElementTree.XMLTreeBuilder.__init__()=chimera.util.etree.ElementTree.XMLTreeBuilder-class.html#__init__,Method chimera.util.etree.ElementTree._ElementInterface.__init__()=chimera.util.etree.ElementTree._ElementInterface-class.html#__init__,Method chimera.util.etree.ElementTree._iterparse.__init__()=chimera.util.etree.ElementTree._iterparse-class.html#__init__,Method chimera.util.filenamesequence.FilenameSequence.__init__()=chimera.util.filenamesequence.FilenameSequence-class.html#__init__,Method chimera.util.image.Image.__init__()=chimera.util.image.Image-class.html#__init__,Method chimera.util.position.Position.__init__()=chimera.util.position.Position-class.html#__init__,Method chimera.util.sexcatalog.SExtractorfile.__init__()=chimera.util.sexcatalog.SExtractorfile-class.html#__init__,Method chimera.util.sextractor.SExtractor.__init__()=chimera.util.sextractor.SExtractor-class.html#__init__,Method chimera.util.simbad.Simbad.__init__()=chimera.util.simbad.Simbad-class.html#__init__,Method chimera.util.telescopelimits.TelescopeLimits.__init__()=chimera.util.telescopelimits.TelescopeLimits-class.html#__init__,Method chimera.util.vizquery.VizQuery.__init__()=chimera.util.vizquery.VizQuery-class.html#__init__,Method chimera.util.votable.VONode.__init__()=chimera.util.votable.VONode-class.html#__init__,Method chimera.util.votable.VOTable.__init__()=chimera.util.votable.VOTable-class.html#__init__,Method chimera.util.votable.VOTableHandler.__init__()=chimera.util.votable.VOTableHandler-class.html#__init__"><a title="chimera.controllers.autofocus.Autofocus.__init__
chimera.controllers.autofocus.FocusFit.__init__
chimera.controllers.console.command.Command.__init__
chimera.controllers.console.command.HighLevelCommand.__init__
chimera.controllers.console.commander.Commander.__init__
chimera.controllers.console.commands.alias.AliasCommand.__init__
chimera.controllers.console.commands.object.ObjectCommand.__init__
chimera.controllers.console.commands.quit.QuitCommand.__init__
chimera.controllers.console.commands.site.SiteCommand.__init__
chimera.controllers.console.commands.unalias.UnaliasCommand.__init__
chimera.controllers.console.console.Console.__init__
chimera.controllers.console.controller._ConsoleControllerSingleton.__init__
chimera.controllers.console.message.Config.__init__
chimera.controllers.console.message.Error.__init__
chimera.controllers.console.message.Hint.__init__
chimera.controllers.console.message.Message.__init__
chimera.controllers.console.namespace.Namespace.__init__
chimera.controllers.extinction.Extinction.__init__
chimera.controllers.imageserver.imagerequest.ImageRequest.__init__
chimera.controllers.imageserver.imageserver.ImageServer.__init__
chimera.controllers.imageserver.imageserverhttp.ImageServerHTTP.__init__
chimera.controllers.pointverify.PointVerify.__init__
chimera.controllers.reduction.calibration.Calibration.__init__
chimera.controllers.reduction.chimera_pipe.Reduction.__init__
chimera.controllers.scheduler.constraints.Constraints.__init__
chimera.controllers.scheduler.constraints.IConstraint.__init__
chimera.controllers.scheduler.controller.Controller.__init__
chimera.controllers.scheduler.machine.Machine.__init__
chimera.controllers.scheduler.sequential.SequentialScheduler.__init__
chimera.controllers.site.main.SiteController.__init__
chimera.controllers.xephem.XEphem.__init__
chimera.controllers.xmlrpc.ChimeraXMLDispatcher.__init__
chimera.controllers.xmlrpc.ThreadingXMLRPCServer.__init__
chimera.controllers.xmlrpc.XMLRPC.__init__
chimera.controllers.xmlrpc.serverThread.__init__
chimera.core.async.BeginDispatcher.__init__
chimera.core.async.EndDispatcher.__init__
chimera.core.chimeraobject.ChimeraObject.__init__
chimera.core.classloader.ClassLoader.__init__
chimera.core.cli.CLIValues.__init__
chimera.core.cli.ChimeraCLI.__init__
chimera.core.cli.Option.__init__
chimera.core.config.BoolChecker.__init__
chimera.core.config.Config.__init__
chimera.core.config.CoordChecker.__init__
chimera.core.config.CoordOption.__init__
chimera.core.config.EnumChecker.__init__
chimera.core.config.FloatChecker.__init__
chimera.core.config.IgnoreChecker.__init__
chimera.core.config.IntChecker.__init__
chimera.core.config.Option.__init__
chimera.core.config.OptionsChecker.__init__
chimera.core.config.RangeChecker.__init__
chimera.core.config.StringChecker.__init__
chimera.core.eventsproxy.EventsProxy.__init__
chimera.core.eventwrapper.EventWrapperDispatcher.__init__
chimera.core.exceptions.ChimeraException.__init__
chimera.core.location.Location.__init__
chimera.core.lockwrapper.LockWrapper.__init__
chimera.core.lockwrapper.LockWrapperDispatcher.__init__
chimera.core.log.ChimeraFormatter.__init__
chimera.core.manager.Manager.__init__
chimera.core.manager.ManagerAdapter.__init__
chimera.core.managerbeacon.ManagerBeacon.__init__
chimera.core.methodwrapper.MethodWrapper.__init__
chimera.core.methodwrapper.MethodWrapperDispatcher.__init__
chimera.core.monitor.Monitor.__init__
chimera.core.proxy.Proxy.__init__
chimera.core.proxy.ProxyMethod.__init__
chimera.core.remoteobject.RemoteObject.__init__
chimera.core.resources.Resource.__init__
chimera.core.resources.ResourcesManager.__init__
chimera.core.rwlock.ReadWriteLock.__init__
chimera.core.site.AstroDate.__init__
chimera.core.site.Site.__init__
chimera.core.systemconfig.SystemConfig.__init__
chimera.core.tests.managerhelper.ManagerHelper.__init__
chimera.core.tests.managerhelperwitherror.ManagerHelperWithError.__init__
chimera.core.tests.managerhelperwithinitexception.ManagerHelperWithInitException.__init__
chimera.core.tests.managerhelperwithmainexception.ManagerHelperWithMainException.__init__
chimera.core.tests.managerhelperwithstartexception.ManagerHelperWithStartException.__init__
chimera.core.tests.managerhelperwithstopexception.ManagerHelperWithStopException.__init__
chimera.core.tests.test_events.Publisher.__init__
chimera.core.tests.test_events.Subscriber.__init__
chimera.core.tests.test_manager.Simple.__init__
chimera.core.tests.test_resources.TestResources.__init__
chimera.core.threads.ThreadPool.__init__
chimera.core.threads.ThreadPoolThread.__init__
chimera.drivers.domelna40cm.DomeLNA40cm.__init__
chimera.drivers.fakecamera.FakeCamera.__init__
chimera.drivers.fakedome.FakeDome.__init__
chimera.drivers.fakefilterwheel.FakeFilterWheel.__init__
chimera.drivers.fakefocuser.FakeFocuser.__init__
chimera.drivers.faketelescope.FakeTelescope.__init__
chimera.drivers.meade.Meade.__init__
chimera.drivers.optectcfs.OptecTCFS.__init__
chimera.drivers.remoteclient.RemoteClient.__init__
chimera.drivers.remoteclient.RemoteMethodWrapper.__init__
chimera.drivers.sbig.sbig.SBIG.__init__
chimera.drivers.sbig.sbigdrv.ReadoutMode.__init__
chimera.drivers.sbig.sbigdrv.SBIGDrv.__init__
chimera.drivers.sbig.sbigdrv.SBIGException.__init__
chimera.drivers.theskytelescope.TheSkyTelescope.__init__
chimera.instruments.camera.Camera.__init__
chimera.instruments.dome.Dome.__init__
chimera.instruments.filterwheel.FilterWheel.__init__
chimera.instruments.focuser.Focuser.__init__
chimera.instruments.telescope.Telescope.__init__
chimera.interfaces.lifecycle.ILifeCycle.__init__
chimera.util.catalogs.landolt.Landolt.__init__
chimera.util.catalogs.ppm.PPM.__init__
chimera.util.catalogs.ucac2.UCAC2.__init__
chimera.util.coord.Coord.__init__
chimera.util.ds9.DS9.__init__
chimera.util.etree.ElementPath.Path.__init__
chimera.util.etree.ElementTree.ElementTree.__init__
chimera.util.etree.ElementTree.QName.__init__
chimera.util.etree.ElementTree.TreeBuilder.__init__
chimera.util.etree.ElementTree.XMLTreeBuilder.__init__
chimera.util.etree.ElementTree._ElementInterface.__init__
chimera.util.etree.ElementTree._iterparse.__init__
chimera.util.filenamesequence.FilenameSequence.__init__
chimera.util.image.Image.__init__
chimera.util.position.Position.__init__
chimera.util.sexcatalog.SExtractorfile.__init__
chimera.util.sextractor.SExtractor.__init__
chimera.util.simbad.Simbad.__init__
chimera.util.telescopelimits.TelescopeLimits.__init__
chimera.util.vizquery.VizQuery.__init__
chimera.util.votable.VONode.__init__
chimera.util.votable.VOTable.__init__
chimera.util.votable.VOTableHandler.__init__" class="py-name" href="#" onclick="return doclink('link-22', '__init__', 'link-22');">__init__</a></tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-23" class="py-name" targets="Method chimera.controllers.console.command.Command.name()=chimera.controllers.console.command.Command-class.html#name,Variable chimera.controllers.scheduler.model.Setting.name=chimera.controllers.scheduler.model.Setting-class.html#name,Variable chimera.core.cli.Option.name=chimera.core.cli.Option-class.html#name,Variable chimera.core.location.Location.name=chimera.core.location.Location-class.html#name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-23', 'name', 'link-23');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt> <tt class="py-op">=</tt> <tt class="py-name">obj</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">specials</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">"config"</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-24" class="py-name" targets="Method chimera.controllers.console.commands.object.ObjectCommand._configHandler()=chimera.controllers.console.commands.object.ObjectCommand-class.html#_configHandler"><a title="chimera.controllers.console.commands.object.ObjectCommand._configHandler" class="py-name" href="#" onclick="return doclink('link-24', '_configHandler', 'link-24');">_configHandler</a></tt><tt class="py-op">}</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_completers</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_exclude</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-25" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-25', 'name', 'link-23');">name</a></tt> <tt class="py-keyword">for</tt> <tt id="link-26" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-26', 'name', 'link-23');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">dir</tt><tt class="py-op">(</tt><tt id="link-27" class="py-name"><a title="chimera.interfaces.lifecycle.ILifeCycle" class="py-name" href="#" onclick="return doclink('link-27', 'ILifeCycle', 'link-3');">ILifeCycle</a></tt><tt class="py-op">)</tt> <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt id="link-28" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-28', 'name', 'link-23');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">"_"</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
</div><a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand._getCommands"></a><div id="ObjectCommand._getCommands-def"><a name="L23"></a><tt class="py-lineno"> 23</tt> <a class="py-toggle" href="#" id="ObjectCommand._getCommands-toggle" onclick="return toggle('ObjectCommand._getCommands');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#_getCommands">_getCommands</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand._getCommands-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand._getCommands-expanded"><a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">         </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-29" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-29', 'name', 'link-23');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">dir</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-30" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-30', 'name', 'link-23');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">"_"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-keyword">continue</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">            <tt class="py-name">attr</tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt id="link-31" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-31', 'name', 'link-23');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line"> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">callable</tt> <tt class="py-op">(</tt><tt class="py-name">attr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> <tt class="py-keyword">continue</tt> </tt>
<a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">             </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method chimera.util.etree.ElementTree._ElementInterface.append()=chimera.util.etree.ElementTree._ElementInterface-class.html#append,Method chimera.util.votable.VOTable.append()=chimera.util.votable.VOTable-class.html#append"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-32', 'append', 'link-32');">append</a></tt><tt class="py-op">(</tt><tt id="link-33" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-33', 'name', 'link-23');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line"> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">ex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_exclude</tt><tt class="py-op">:</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">ex</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt><tt class="py-op">:</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name" targets="Method chimera.core.manager.Manager.remove()=chimera.core.manager.Manager-class.html#remove,Method chimera.core.resources.ResourcesManager.remove()=chimera.core.resources.ResourcesManager-class.html#remove,Method chimera.util.etree.ElementTree._ElementInterface.remove()=chimera.util.etree.ElementTree._ElementInterface-class.html#remove"><a title="chimera.core.manager.Manager.remove
chimera.core.resources.ResourcesManager.remove
chimera.util.etree.ElementTree._ElementInterface.remove" class="py-name" href="#" onclick="return doclink('link-34', 'remove', 'link-34');">remove</a></tt><tt class="py-op">(</tt><tt class="py-name">ex</tt><tt class="py-op">)</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">inc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">specials</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name" targets="Method chimera.core.config.Config.keys()=chimera.core.config.Config-class.html#keys,Variable chimera.core.resources.ResourcesManager.keys=chimera.core.resources.ResourcesManager-class.html#keys,Method chimera.util.etree.ElementTree._ElementInterface.keys()=chimera.util.etree.ElementTree._ElementInterface-class.html#keys,Method chimera.util.image.Image.keys()=chimera.util.image.Image-class.html#keys,Method chimera.util.sexcatalog.SExtractorfile.keys()=chimera.util.sexcatalog.SExtractorfile-class.html#keys"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-35', 'keys', 'link-35');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt><tt class="py-op">.</tt><tt id="link-36" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-36', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-name">inc</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line"> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_cmds</tt> </tt>
</div><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand.complete"></a><div id="ObjectCommand.complete-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <a class="py-toggle" href="#" id="ObjectCommand.complete-toggle" onclick="return toggle('ObjectCommand.complete');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#complete">complete</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">prefix</tt><tt class="py-op">,</tt> <tt class="py-param">line</tt><tt class="py-op">,</tt> <tt class="py-param">prefix_start</tt><tt class="py-op">,</tt> <tt class="py-param">prefix_end</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand.complete-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand.complete-expanded"><a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line"> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Method chimera.controllers.console.command.HighLevelCommand._getCommands()=chimera.controllers.console.command.HighLevelCommand-class.html#_getCommands,Method chimera.controllers.console.commands.object.ObjectCommand._getCommands()=chimera.controllers.console.commands.object.ObjectCommand-class.html#_getCommands"><a title="chimera.controllers.console.command.HighLevelCommand._getCommands
chimera.controllers.console.commands.object.ObjectCommand._getCommands" class="py-name" href="#" onclick="return doclink('link-37', '_getCommands', 'link-37');">_getCommands</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">            <tt class="py-comment"># subcommand prefix</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">if</tt> <tt class="py-name">prefix_start</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-name">cmd</tt> <tt class="py-keyword">for</tt> <tt class="py-name">cmd</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name"><a title="chimera.controllers.console.command.HighLevelCommand._getCommands
chimera.controllers.console.commands.object.ObjectCommand._getCommands" class="py-name" href="#" onclick="return doclink('link-38', '_getCommands', 'link-37');">_getCommands</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">if</tt> <tt class="py-name">cmd</tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-name">prefix</tt><tt class="py-op">)</tt> <tt class="py-op">]</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line"> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">            <tt class="py-comment"># subcommand arguments</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">subcommand_name</tt> <tt class="py-op">=</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">            <tt class="py-comment"># FIXME: only config by now</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">if</tt> <tt class="py-name">subcommand_name</tt> <tt class="py-op">==</tt> <tt class="py-string">"config"</tt><tt class="py-op">:</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method chimera.controllers.console.commands.object.ObjectCommand._configCompleter()=chimera.controllers.console.commands.object.ObjectCommand-class.html#_configCompleter"><a title="chimera.controllers.console.commands.object.ObjectCommand._configCompleter" class="py-name" href="#" onclick="return doclink('link-39', '_configCompleter', 'link-39');">_configCompleter</a></tt> <tt class="py-op">(</tt><tt class="py-name">prefix</tt><tt class="py-op">,</tt> <tt class="py-name">line</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">subcommand_name</tt><tt class="py-op">)</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">                                              <tt class="py-name">prefix_start</tt> <tt class="py-op">-</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">subcommand_name</tt><tt class="py-op">)</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">                                              <tt class="py-name">prefix_end</tt>   <tt class="py-op">-</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">subcommand_name</tt><tt class="py-op">)</tt> <tt class="py-op">-</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line"> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
</div><a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand.execute"></a><div id="ObjectCommand.execute-def"><a name="L70"></a><tt class="py-lineno"> 70</tt> <a class="py-toggle" href="#" id="ObjectCommand.execute-toggle" onclick="return toggle('ObjectCommand.execute');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#execute">execute</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">args</tt><tt class="py-op">,</tt> <tt class="py-param">namespace</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand.execute-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand.execute-expanded"><a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">  </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">args</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-40', 'name', 'link-23');">name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line"> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-name">method</tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt> </tt>
<a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line">  </tt>
<a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">method</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">specials</tt><tt class="py-op">:</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">specials</tt><tt class="py-op">[</tt><tt class="py-name">method</tt><tt class="py-op">]</tt> <tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">         </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">            <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">)</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">            <tt class="py-name">evaluated</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line"> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">            <tt class="py-comment"># if there are arguments, eval them</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">if</tt> <tt class="py-name">args</tt><tt class="py-op">:</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">                <tt class="py-name">evaluated</tt> <tt class="py-op">=</tt> <tt class="py-name">eval</tt> <tt class="py-op">(</tt><tt class="py-string">"(%s,)"</tt> <tt class="py-op">%</tt> <tt class="py-name">args</tt> <tt class="py-op">)</tt> </tt>
<a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method chimera.controllers.console.commands.object.ObjectCommand._methodHandler()=chimera.controllers.console.commands.object.ObjectCommand-class.html#_methodHandler"><a title="chimera.controllers.console.commands.object.ObjectCommand._methodHandler" class="py-name" href="#" onclick="return doclink('link-41', '_methodHandler', 'link-41');">_methodHandler</a></tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-name">evaluated</tt><tt class="py-op">)</tt>             </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line"> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-name">e</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-42" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-42', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Invalid arguments '%s' for %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">                      </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand._getMethodSignature"></a><div id="ObjectCommand._getMethodSignature-def"><a name="L95"></a><tt class="py-lineno"> 95</tt> <a class="py-toggle" href="#" id="ObjectCommand._getMethodSignature-toggle" onclick="return toggle('ObjectCommand._getMethodSignature');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#_getMethodSignature">_getMethodSignature</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand._getMethodSignature-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand._getMethodSignature-expanded"><a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line">        <tt class="py-name">args</tt><tt class="py-op">,</tt> <tt class="py-name">varargs</tt><tt class="py-op">,</tt> <tt class="py-name">kwargs</tt><tt class="py-op">,</tt> <tt class="py-name">defaults</tt> <tt class="py-op">=</tt> <tt class="py-name">inspect</tt><tt class="py-op">.</tt><tt class="py-name">getargspec</tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">)</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-comment"># to remove self</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">]</tt>         </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line">        <tt class="py-name">non_default</tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> <tt class="py-op">-</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">defaults</tt><tt class="py-op">)</tt>  </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-name">sign</tt> <tt class="py-op">=</tt> <tt class="py-string">""</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-43" class="py-name" targets="Variable chimera.drivers.sbig.tests.grab.i=chimera.drivers.sbig.tests.grab-module.html#i"><a title="chimera.drivers.sbig.tests.grab.i" class="py-name" href="#" onclick="return doclink('link-43', 'i', 'link-43');">i</a></tt><tt class="py-op">,</tt> <tt id="link-44" class="py-name" targets="Method chimera.controllers.console.commander.Commander.default()=chimera.controllers.console.commander.Commander-class.html#default,Variable chimera.core.cli.Option.default=chimera.core.cli.Option-class.html#default"><a title="chimera.controllers.console.commander.Commander.default
chimera.core.cli.Option.default" class="py-name" href="#" onclick="return doclink('link-44', 'default', 'link-44');">default</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">zip</tt><tt class="py-op">(</tt><tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">defaults</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">defaults</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">            <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt><tt class="py-op">-</tt><tt id="link-45" class="py-name"><a title="chimera.drivers.sbig.tests.grab.i" class="py-name" href="#" onclick="return doclink('link-45', 'i', 'link-43');">i</a></tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s=%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt><tt class="py-op">-</tt><tt id="link-46" class="py-name"><a title="chimera.drivers.sbig.tests.grab.i" class="py-name" href="#" onclick="return doclink('link-46', 'i', 'link-43');">i</a></tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt id="link-47" class="py-name"><a title="chimera.controllers.console.commander.Commander.default
chimera.core.cli.Option.default" class="py-name" href="#" onclick="return doclink('link-47', 'default', 'link-44');">default</a></tt><tt class="py-op">)</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line"> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">arg</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args</tt><tt class="py-op">:</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">            <tt class="py-name">sign</tt> <tt class="py-op">+=</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">arg</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-string">" "</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line"> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-name">sign</tt> <tt class="py-op">=</tt> <tt class="py-name">sign</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line"> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-name">sign</tt> <tt class="py-op">=</tt> <tt class="py-string">"%s %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name" targets="Variable chimera.core.methodwrapper.MethodWrapper.__name__=chimera.core.methodwrapper.MethodWrapper-class.html#__name__"><a title="chimera.core.methodwrapper.MethodWrapper.__name__" class="py-name" href="#" onclick="return doclink('link-48', '__name__', 'link-48');">__name__</a></tt><tt class="py-op">,</tt> <tt class="py-name">sign</tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">non_default</tt><tt class="py-op">,</tt> <tt class="py-name">sign</tt><tt class="py-op">)</tt> </tt>
</div><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line"> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand._methodHandler"></a><div id="ObjectCommand._methodHandler-def"><a name="L118"></a><tt class="py-lineno">118</tt> <a class="py-toggle" href="#" id="ObjectCommand._methodHandler-toggle" onclick="return toggle('ObjectCommand._methodHandler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#_methodHandler">_methodHandler</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">method</tt><tt class="py-op">,</tt> <tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand._methodHandler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand._methodHandler-expanded"><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">        <tt class="py-name">func</tt><tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line"> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">            <tt class="py-name">func</tt> <tt class="py-op">=</tt> <tt class="py-name">getattr</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">AttributeError</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-49" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-49', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Invalid operation on %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-50', 'name', 'link-23');">name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line"> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-comment"># check arguments number</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">arg_count</tt><tt class="py-op">,</tt> <tt class="py-name">non_default_args</tt><tt class="py-op">,</tt> <tt class="py-name">signature</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name" targets="Method chimera.controllers.console.commands.object.ObjectCommand._getMethodSignature()=chimera.controllers.console.commands.object.ObjectCommand-class.html#_getMethodSignature"><a title="chimera.controllers.console.commands.object.ObjectCommand._getMethodSignature" class="py-name" href="#" onclick="return doclink('link-51', '_getMethodSignature', 'link-51');">_getMethodSignature</a></tt> <tt class="py-op">(</tt><tt class="py-name">func</tt><tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line"> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">len</tt> <tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> <tt class="py-op">&lt;</tt> <tt class="py-name">non_default_args</tt><tt class="py-op">:</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-52" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-52', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"%s takes %d argument(s), %d given."</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-name">non_default_args</tt><tt class="py-op">,</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">                    <tt id="link-53" class="py-name"><a title="chimera.controllers.console.message.Hint" class="py-name" href="#" onclick="return doclink('link-53', 'Hint', 'link-19');">Hint</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Usage: %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">signature</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line"> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> <tt class="py-op">&gt;</tt> <tt class="py-name">arg_count</tt><tt class="py-op">:</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-54" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-54', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"%s takes at most %d argument(s), %d given."</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">method</tt><tt class="py-op">,</tt> <tt class="py-name">non_default_args</tt><tt class="py-op">,</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-name">args</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">                    <tt id="link-55" class="py-name"><a title="chimera.controllers.console.message.Hint" class="py-name" href="#" onclick="return doclink('link-55', 'Hint', 'link-19');">Hint</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Usage: %s"</tt> <tt class="py-op">%</tt> <tt class="py-name">signature</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line"> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">func</tt><tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">,</tt> <tt class="py-name">e</tt><tt class="py-op">:</tt> </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-name">e</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-56" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-56', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Error in %s %s call"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-57', 'name', 'link-23');">name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">method</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line"> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line"> </tt>
<a name="ObjectCommand._configCompleter"></a><div id="ObjectCommand._configCompleter-def"><a name="L145"></a><tt class="py-lineno">145</tt> <a class="py-toggle" href="#" id="ObjectCommand._configCompleter-toggle" onclick="return toggle('ObjectCommand._configCompleter');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#_configCompleter">_configCompleter</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">prefix</tt><tt class="py-op">,</tt> <tt class="py-op">*</tt><tt class="py-param">ignored</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand._configCompleter-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand._configCompleter-expanded"><a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line"> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt class="py-string">'config'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">         </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">[</tt><tt id="link-58" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-58', 'name', 'link-23');">name</a></tt> <tt class="py-keyword">for</tt> <tt id="link-59" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-59', 'name', 'link-23');">name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-60', 'config', 'link-6');">config</a></tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="chimera.core.config.Config.keys
chimera.core.resources.ResourcesManager.keys
chimera.util.etree.ElementTree._ElementInterface.keys
chimera.util.image.Image.keys
chimera.util.sexcatalog.SExtractorfile.keys" class="py-name" href="#" onclick="return doclink('link-61', 'keys', 'link-35');">keys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">if</tt> <tt id="link-62" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-62', 'name', 'link-23');">name</a></tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-name">prefix</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
</div><a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line"> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">    <tt class="py-comment"># FIXME: better parsing!</tt> </tt>
<a name="ObjectCommand._configHandler"></a><div id="ObjectCommand._configHandler-def"><a name="L153"></a><tt class="py-lineno">153</tt> <a class="py-toggle" href="#" id="ObjectCommand._configHandler-toggle" onclick="return toggle('ObjectCommand._configHandler');">-</a><tt class="py-line"><tt class="py-comment"></tt>    <tt class="py-keyword">def</tt> <a class="py-def-name" href="chimera.controllers.console.commands.object.ObjectCommand-class.html#_configHandler">_configHandler</a> <tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">args</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="ObjectCommand._configHandler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="ObjectCommand._configHandler-expanded"><a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">     </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">hasattr</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">,</tt> <tt class="py-string">'config'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-63" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-63', 'Error', 'link-18');">Error</a></tt> <tt class="py-op">(</tt><tt class="py-string">"Object doesn't support configuration"</tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">        <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">args</tt><tt class="py-op">[</tt><tt class="py-name">len</tt><tt class="py-op">(</tt><tt class="py-string">"config"</tt><tt class="py-op">)</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line"> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">args</tt><tt class="py-op">:</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">            <tt class="py-comment"># return all</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">return</tt> <tt id="link-64" class="py-name"><a title="chimera.controllers.console.message.Config
chimera.core.config.Config" class="py-name" href="#" onclick="return doclink('link-64', 'Config', 'link-20');">Config</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-65" class="py-name"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-65', 'config', 'link-6');">config</a></tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line"> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">        <tt class="py-keyword">def</tt> <tt class="py-def-name">getConfig</tt> <tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-66', 'config', 'link-6');">config</a></tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> </tt>
</div><a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line"> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">        <tt class="py-keyword">def</tt> <tt class="py-def-name">setConfig</tt> <tt class="py-op">(</tt><tt class="py-param">key</tt><tt class="py-op">,</tt> <tt class="py-param">value</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">obj</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="chimera.core.config
chimera.core.location.Location.config" class="py-name" href="#" onclick="return doclink('link-67', 'config', 'link-6');">config</a></tt><tt class="py-op">[</tt><tt class="py-name">key</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line"> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">        <tt class="py-comment"># parse required on config args</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">tasks</tt>   <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">        <tt class="py-name">errors</tt>  <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">        <tt class="py-name">results</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line"> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">item</tt> <tt class="py-keyword">in</tt> <tt class="py-name">args</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">","</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line"> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-string">"="</tt> <tt class="py-keyword">in</tt> <tt class="py-name">item</tt><tt class="py-op">:</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">                <tt class="py-comment"># setter one</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line"><tt class="py-comment"></tt>                <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">                    <tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">item</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-string">"="</tt><tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">                    <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">key</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">                    <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">value</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line"> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">                    <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">                        <tt class="py-name">value</tt> <tt class="py-op">=</tt> <tt class="py-name">eval</tt><tt class="py-op">(</tt><tt class="py-name">value</tt><tt class="py-op">)</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">                    <tt class="py-keyword">except</tt> <tt class="py-name">Exception</tt><tt class="py-op">:</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">                        <tt class="py-name">errors</tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-68', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-string">"invalid configuration value"</tt><tt class="py-op">)</tt>     </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line"> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">                    <tt class="py-name">tasks</tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-69', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">setConfig</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt> <tt class="py-name">value</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">                     </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">                <tt class="py-keyword">except</tt> <tt class="py-name">ValueError</tt><tt class="py-op">:</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">                    <tt class="py-name">errors</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-70', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-string">"invalid syntax"</tt><tt class="py-op">)</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line"> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">                <tt class="py-comment"># simple getters</tt> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"><tt class="py-comment"></tt>                <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">item</tt><tt class="py-op">.</tt><tt class="py-name">strip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line"> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">key</tt><tt class="py-op">:</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">                    <tt class="py-keyword">continue</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">                 </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line">                <tt class="py-name">tasks</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-71', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-op">(</tt><tt class="py-name">getConfig</tt><tt class="py-op">,</tt> <tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">,</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line"> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">task</tt> <tt class="py-keyword">in</tt> <tt class="py-name">tasks</tt><tt class="py-op">:</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line"> </tt>
<a name="L206"></a><tt class="py-lineno">206</tt>  <tt class="py-line">            <tt class="py-name">handler</tt><tt class="py-op">,</tt> <tt id="link-72" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-72', 'name', 'link-23');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">args</tt> <tt class="py-op">=</tt> <tt class="py-name">task</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">task</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">task</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt> </tt>
<a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">             </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">            <tt class="py-keyword">try</tt><tt class="py-op">:</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">                <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt class="py-name">handler</tt> <tt class="py-op">(</tt><tt class="py-op">*</tt><tt class="py-name">args</tt><tt class="py-op">)</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line"> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">result</tt> <tt class="py-op">!=</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">                    <tt class="py-name">results</tt><tt class="py-op">[</tt><tt id="link-73" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-73', 'name', 'link-23');">name</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">result</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line"> </tt>
<a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line">            <tt class="py-keyword">except</tt> <tt class="py-name">KeyError</tt><tt class="py-op">:</tt> </tt>
<a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">                <tt class="py-name">errors</tt><tt class="py-op">.</tt><tt id="link-74" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-74', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-string">"'%s' doesn't exists"</tt> <tt class="py-op">%</tt> <tt id="link-75" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-75', 'name', 'link-23');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">            <tt class="py-keyword">except</tt> <tt id="link-76" class="py-name"><a title="chimera.core.exceptions.OptionConversionException" class="py-name" href="#" onclick="return doclink('link-76', 'OptionConversionException', 'link-7');">OptionConversionException</a></tt><tt class="py-op">:</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">                <tt class="py-name">errors</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="chimera.util.etree.ElementTree._ElementInterface.append
chimera.util.votable.VOTable.append" class="py-name" href="#" onclick="return doclink('link-77', 'append', 'link-32');">append</a></tt> <tt class="py-op">(</tt><tt class="py-string">"invalid configuration value to '%s'"</tt> <tt class="py-op">%</tt> <tt id="link-78" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-78', 'name', 'link-23');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line"> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-name">errors_list</tt>  <tt class="py-op">=</tt> <tt class="py-op">[</tt> <tt id="link-79" class="py-name"><a title="chimera.controllers.console.message.Error" class="py-name" href="#" onclick="return doclink('link-79', 'Error', 'link-18');">Error</a></tt><tt class="py-op">(</tt><tt class="py-string">"%s: %s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="chimera.controllers.console.command.Command.name
chimera.controllers.scheduler.model.Setting.name
chimera.core.cli.Option.name
chimera.core.location.Location.name" class="py-name" href="#" onclick="return doclink('link-80', 'name', 'link-23');">name</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt id="link-81" class="py-name" targets="Method chimera.core.cli.ChimeraCLI.err()=chimera.core.cli.ChimeraCLI-class.html#err"><a title="chimera.core.cli.ChimeraCLI.err" class="py-name" href="#" onclick="return doclink('link-81', 'err', 'link-81');">err</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> <tt class="py-keyword">for</tt> <tt id="link-82" class="py-name"><a title="chimera.core.cli.ChimeraCLI.err" class="py-name" href="#" onclick="return doclink('link-82', 'err', 'link-81');">err</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">errors</tt> <tt class="py-op">]</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">        <tt class="py-name">results_list</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-83" class="py-name"><a title="chimera.controllers.console.message.Config
chimera.core.config.Config" class="py-name" href="#" onclick="return doclink('link-83', 'Config', 'link-20');">Config</a></tt><tt class="py-op">(</tt><tt class="py-name">results</tt><tt class="py-op">)</tt><tt class="py-op">]</tt> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">         </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">errors_list</tt><tt class="py-op">+</tt><tt class="py-name">results_list</tt> </tt>
</div></div><a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="chimera-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://chimera.ufsc.br/">Chimera - Observatoty Automation System</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    <a href="epydoc-log.html">Generated by Epydoc
    3.0beta1 on Sat Feb  7 18:36:59 2009</a>
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
